using UnityEngine;
using System.Collections;

namespace HighlightingSystem.Demo
{
	public class RotationController : MonoBehaviour
	{
		public float speedX = 20f;
		public float speedY = 40f;
		public float speedZ = 80f;
		
		private Transform tr;

		void Awake()
		{
			tr = GetComponent<Transform>();
		}

		void Update()
		{
			tr.Rotate(speedX * Time.deltaTime, speedY * Time.deltaTime, speedZ * Time.deltaTime);
		}
	}
}